/*
 * @Description:
 * @Author: cgt
 * @Date: 2021-12-29 18:00:27
 * @LastEditors: cgt
 * @LastEditTime: 2021-12-29 18:41:28
 */
module.exports.getDate = function() {
  var d = new Date();
  return (
    d.getFullYear() +
        '-' +
        (d.getMonth() + 1) +
        '-' +
        d.getDate() +
        ' ' +
        d.getHours() +
        ':' +
        d.getMinutes() +
        ':' +
        d.getSeconds() +
        ':' +
        d.getMilliseconds()
  );
};
module.exports.getDateString = function() {
  var d = new Date();
  return (
    d.getFullYear() +
        '_' +
        (d.getMonth() + 1) +
        '_' +
        d.getDate() +
        '_' +
        d.getHours() +
        '_' +
        d.getMinutes() +
        '_' +
        d.getSeconds() +
        '_' +
        d.getMilliseconds()
  );
};
